home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / csim / source.lha / source / C++SIM / common.h next >
C/C++ Source or Header  |  1993-06-14  |  521b  |  37 lines

  1. /*
  2.  * Copyright (C) 1993
  3.  *
  4.  * Department of Computing Science,
  5.  * The University,
  6.  * Newcastle upon Tyne,
  7.  * UK.
  8.  */
  9.  
  10. /*
  11.  * Various useful definitions.
  12.  */
  13.  
  14.  
  15. #ifndef COMMON_H_
  16. #define COMMON_H_
  17.  
  18. #include <iostream.h>
  19.  
  20. // Do not forget to change the Makefile accordingly for the right thread library!
  21.  
  22. // Can choose from LWP_Thread or GNU_Thread
  23.  
  24. #define Thread_Type GNU_Thread
  25.  
  26. // Can choose from LWPTHREAD or GNUTHREAD
  27.  
  28. #define GNUTHREAD
  29.  
  30. #ifndef true
  31. typedef int boolean;
  32. #define true 1
  33. #define false 0
  34. #endif
  35.  
  36. #endif
  37.